const { ccclass, property } = cc._decorator;

@ccclass
//继承cc.EventTarget,事件派发基类
export default class GameEventListen extends cc.EventTarget {

    private static _event: GameEventListen = null
    public static ins() {
        if (!this._event) {
            this._event = new GameEventListen()
        }
        return this._event
    }
}
